package com.yupi.project.security;

import com.yupi.project.model.AuthenticatorResult;
import com.yupi.project.model.ProtectedRequest;
import org.springframework.core.Ordered;

public interface SecurityVerificationHandler extends Ordered {
    /**
     * 请求校验
     * @param protectedRequest
     * @return
     */
    AuthenticatorResult auth(ProtectedRequest protectedRequest);
}